<?
class event{

	var $titre;
	var $description;
	var $url;
	var $ico;

	function event($var){
		$this->titre=$var["titre"];
		$this->description=$var["description"];
		$this->url=$var["url"];
		$this->ico=$var["ico"];
	}

	function get_titre(){ return stripslashes($this->titre); }
	function set_titre($value){ $this->titre=$value; }
	function get_description(){ return stripslashes($this->description); }
	function set_description($value){ $this->description=$value; }
	function get_url(){ return stripslashes($this->url); }
	function set_url($value){ $this->url=$value; }
	function get_ico(){ return stripslashes($this->ico); }
	function set_ico($value){ $this->ico=$value; }

}